CountValues
TheCountValues
method returns the number of values in the current focus context for this storage unit.
ODULong CountValues ();
- return value
- The number of values in this storage unit, expressed as an unsigned 32-bit value.
DISCUSSION
This storage unit must be focused on a property or a value, not the entire storage unit.EXCEPTIONS
kODErrUnfocusedStorageUnit
- This storage unit is not focused on a property or a value.
kODErrZeroRefCount
- This storage unit has a reference count of 0.
SEE ALSO
TheODStorageUnit::CountProperties
method (page 674).
Listing 2-42 on page 101 in OpenDoc Cookbook.
"Iterating Through a Storage Unit" on page 277 in OpenDoc Programmer's Guide.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help